package com.qing.springcloud.common;

import lombok.Getter;

/**
 * @author caozhipeng
 * @date 2025/7/11
 * @description 消息状态枚举类
 */
@Getter
public enum MessageStatusEnum implements CommonEnum{
    SENDING(0, "发送中"),
    OFFLINE(4, "离线未发送"),
    SENT(1, "已发送"),
    READ(2, "已读"),
    DELETED(3, "已删除");

    private Integer code;

    private String name;

    private  MessageStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
